
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<html>
<head>
	<meta charset="UTF-8">
	<title>Insert title here</title>
</head>
<body>
	<form >
		用户名:<input type="text" name="pname" id="pname"><br>

		密码:<input type="text" name="pwd" id="pwd"><br>


		多余字段:<input type="text" name="salt" id="salt"><br>

		角色:
		<span th:each="r : ${roles}">
			<input type="checkbox"name="roleId" th:value="${r.roleId}" th:text="${r.roleName}">
		</span>
	</form>
</body>
</html>